// RSSParser.h: interface for the RSSParser class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_RSSPARSER_H__6EB51F7B_D9C4_4BED_87FC_E7FE012DB5E9__INCLUDED_)
#define AFX_RSSPARSER_H__6EB51F7B_D9C4_4BED_87FC_E7FE012DB5E9__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "util.h"
#include "tinyxml/tinyxml.h"

#include "RSSFeed.h"

class RSSParser  
{
public:
	bool Parse(TiXmlDocument &doc);
	RSSParser();
	bool ParseFile(const char* filename, RSSFeed* pFeed);
	virtual ~RSSParser();
private:
	void Reset();
	RSSFeed *m_pFeed;
};

#endif // !defined(AFX_RSSPARSER_H__6EB51F7B_D9C4_4BED_87FC_E7FE012DB5E9__INCLUDED_)
